package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class ParameterStyleClause implements AlterRoutineCharacteristic, MethodCharacteristic, RoutineCharacteristic {

    private int beginIndex;
    private int endIndex;
    private boolean sql;
    private boolean general;

    public ParameterStyleClause(int beginIndex, int endIndex, boolean sql, boolean general) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.sql = sql;
        this.general = general;
    }

    @Override
    public int getBeginIndex() {
        return beginIndex;
    }

    @Override
    public int getEndIndex() {
        return endIndex;
    }

    public boolean isSql() {
        return sql;
    }

    public boolean isGeneral() {
        return general;
    }

}
